﻿namespace Algo
{
    internal sealed class EmptyExtensions : IAlgoExtensions
    {
        public static readonly IAlgoExtensions Instance = new EmptyExtensions();

        private EmptyExtensions()
        {
        }

        public bool TryGet<TBehaviour>(out TBehaviour behaviour)
        {
            behaviour = default(TBehaviour);
            return false;
        }
    }
}